xenstored: Fix socket-based connection teardown. Reading zero bytes
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 25 Jul 2007 08:51:14 +0000 (09:51 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 25 Jul 2007 08:51:14 +0000 (09:51 +0100)
commit504e6b5eae079a93ac47fe2f1a228db6ff9b1aca
treefd1ea73e6bf476945ade0b02538680fee493e74a
parent698543a3139d11d724d2b7b0622a7ea42051a696
xenstored: Fix socket-based connection teardown. Reading zero bytes
*should* in fact cause the connection to be destroyed. Fix this with a
little extra code in the readfd() handler.
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/xenstore/xenstored_core.c